ReadingRecords Event (Report Object)

Sample Code - ReadingRecords Event

The ReadingRecords event occurs when records are read (that is, when a report is previewed, printed, refreshed, etc.). Reading occurs at random intervals, so a different number of reading record events may occur each time the same report is previewed, printed, etc.

Syntax
Event ReadingRecords (ReadRecords As Long, RecordsSelected As Long, 
Cancelled As Boolean, Done As Boolean)
Parameters

Cancelled

Specifies Boolean value indicating that record reading was cancelled.

Done

Specifies Boolean value indicating whether record reading is finished.

RecordsRead

Specifies the number of records read to process the report.

RecordsSelected

Specifies the number of records selected to appear in the report.

ReportName

Reserved for future use.

Remarks

This event is enabled by using the ReadingRecordsEventEnabled property of the EventInfo Object, obtained through the EventInfo property of the Report Object. For more information on events, see Object Model Events.



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com